package com.han.news.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author HanDianWei
 * @since 2021-03-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="News对象", description="")
public class News implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "n_num", type = IdType.AUTO)
    private Integer nNum;
//  标题
    private String nTitle;
//  内容
    private String nMsg;
//    文件路径
    private String nFile;
//    是否加密
    private int nEncryption;
//    新闻标签
    private String nTag;

}
